package com.yjy.fuyao.stu.client;

import com.yjy.fuyao.stu.client.fallback.VodVideoClientFallback;
import com.yjy.fuyao.utils.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-vod",fallback = VodVideoClientFallback.class)
public interface VodVideoClient {

    @DeleteMapping("/api/vod/remove")
    R removeById(@RequestParam("id") String id);
}
